package com.youngjun.user.mapper;

import com.youngjun.common.mybatis.mapper.support.BaseMapper;
import com.youngjun.user.pojo.domain.Organization;
import com.youngjun.user.pojo.dto.query.OrganizationQueryDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrganizationMapper extends BaseMapper<Organization> {

    /**
     * 查询所有单位
     * @param dto 查询参数
     * @return List<Organization>
     */
    List<Organization> findAll(OrganizationQueryDTO dto);

}